﻿#region Header
// ------------------------ Licence / Copyright ------------------------
// 
// ScrumTable for Scrum Meeting Support
// Copyright © HSR - Hochschule für Technik Rapperswil
// All Rights Reserved
// 
// Author:
//  Michael Gfeller Silvan Gehrig Patrick Boos
// 
// ---------------------------------------------------------------------
#endregion


#region Usings

using System.Windows;
using System.Windows.Media;

#endregion

namespace ScrumTable.UI.View.WinTouch.UserControls.Tiles
{
    /// <summary>
    /// Interaction logic for TileControl.xaml
    /// </summary>
    public partial class TileControl
    {
        #region Properties

      

        #region DisplayText
        /// <summary>
        /// DependencyProperty for DisplayText.
        /// </summary>
        public static readonly DependencyProperty DisplayTextProperty =
            DependencyProperty.Register("DisplayText",
                                        typeof(string),
                                        typeof(SurfaceDragDropListBox),
                                        new UIPropertyMetadata(""));
        /// <summary>
        /// Gets or sets if the text to be displayed in the star.
        /// </summary>
        /// <value>Text</value>
        public string DisplayText
        {
            get { return (string)GetValue(DisplayTextProperty); }
            set { SetValue(DisplayTextProperty, value); }
        }
        #endregion


        #region DisplayIcon
        /// <summary>
        /// DependencyProperty for DisplayText.
        /// </summary>
        public static readonly DependencyProperty DisplayIconProperty =
            DependencyProperty.Register("DisplayIcon",
                                        typeof(Brush),
                                        typeof(SurfaceDragDropListBox),
                                        new UIPropertyMetadata(null));
        /// <summary>
        /// Gets or sets the brush icon of the tile
        /// </summary>
        /// <value>Text</value>
        public Brush DisplayIcon
        {
            get { return (Brush)GetValue(DisplayIconProperty); }
            set { SetValue(DisplayIconProperty, value); }
        }
        #endregion

        #endregion


        #region Constructors / Destructor
        //--------------------------------------------------------------------
        // Constructors / Destructor
        //--------------------------------------------------------------------
        /// <summary>
        /// Initializes a new instance of the <see cref="TileControl"/> class.
        /// </summary>
        public TileControl()
        {
            if (!System.ComponentModel.DesignerProperties.GetIsInDesignMode(this))
            {
                InitializeComponent();
            }
        }
        #endregion
    }
}
